package com.lehecai.core.task.dispatcher;

import com.lehecai.core.task.entity.AsyncTaskItem;

/**
 * 异步任务接收队列分发器
 * Created by qatang on 14-2-26.
 */
public interface IAsyncTaskSenderDispatcher {
    /**
     * 分发异步任务
     * @param asyncTaskItem
     * @return
     * @throws Exception
     */
    public boolean dispatch(AsyncTaskItem asyncTaskItem) throws Exception;
}
